var buff_speed_xj = function () {};

module.exports = buff_speed_xj;
buff_speed_xj.prototype.init = function (owner, combat, buff, cardList) {
  this.combat = combat;
  this.buff = buff;
  this.owner = owner;
};
buff_speed_xj.prototype.onRoundOver = function () {};
buff_speed_xj.prototype.floatProp = function (prop) {
  var cri_key = 'speed';
  let value = this.buff.ceng;
  let newValue = prop.getValue(cri_key) - 10 * value;
  prop.setValue(cri_key, newValue);
};
buff_speed_xj.prototype.onGameOver = function () {
  this.owner.buffList.removeBuff(this.buff);
};
